#if !defined(AFX_ORIGINDLG_H__3A93BB81_E5B4_11D2_8D91_00AA00A18C62__INCLUDED_)
#define AFX_ORIGINDLG_H__3A93BB81_E5B4_11D2_8D91_00AA00A18C62__INCLUDED_

#include "UTIL\MinButton.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OriginDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// COriginDlg dialog
#include "Util\MinButton.h"

class IAutoManager;
class IAXIS1;

class COriginDlg : public CDialog
{
private:
	BOOL m_OriginSelectFlag[ALL_MOTOR];
	IAutoManager* m_lnkAutoManager;
	IAXIS1* m_lnkMotor[ALL_MOTOR];
// Construction
public:
	void MotorSelect(int sel);
	CMinButton m_bMotorSel[ALL_MOTOR];
	COriginDlg(IAutoManager* pAutoManager, CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(COriginDlg)
	enum { IDD = IDD_ORIGIN_DLG };
	CMinButton	m_bOrgRun;
	CMinButton	m_bExit;
	CMinButton	m_bAllSelect;
	CMinButton	m_bAllCancel;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(COriginDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(COriginDlg)
	afx_msg void OnOrgAllSelect();
	virtual void OnCancel();
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnOrgAllCancel();
	afx_msg void OnOrgButton1();
	afx_msg void OnOrgButton2();
	afx_msg void OnOrgButton3();
	afx_msg void OnOrgButton4();
	afx_msg void OnOrgButton5();
	afx_msg void OnOrgButton6();
	afx_msg void OnOrgButton7();
	afx_msg void OnOrgButton8();
	afx_msg void OnOrgButton9();
	afx_msg void OnOrgButton10();
	afx_msg void OnOrgButton11();
	afx_msg void OnOrgButton12();
	afx_msg void OnOrgButton13();
	afx_msg void OnOrgButton14();
	afx_msg void OnOrgButton15();
	afx_msg void OnOrgButton16();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ORIGINDLG_H__3A93BB81_E5B4_11D2_8D91_00AA00A18C62__INCLUDED_)
